﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Ezio.Model
{
    public partial class DataProvider
    {
        public bool TrySaveChanges()
        {
            try
            {
                return SaveChanges() > 0;
            }
            catch (Exception)
            {
                return false;
            }
        }
    }
}